<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%><%@ page language="java"
	contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>SPOKEN TOPICS</title>
<link href="http://fonts.googleapis.com/css?family=Arvo"
	rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
	<div id="wrapper">
		<div id="wrapper2">
			<div id="header" class="container">
				<div id="logo">
					<h1>
						topicssssss
					</h1>
					<p>
						
					</p>
				</div>
				<div id="menu">
					<ul>
						<li class="current_page_item"><a href="#">Homepage</a></li>
						<li><a href="#">Blog</a></li>
						<li><a href="#">Photos</a></li>
						<li><a href="#">About</a></li>
						<li><a href="#">Contact</a></li>
					</ul>
				</div>
			</div>
			<!-- end #header -->
			<div id="page">
				<div id="content">
					<div class="post">
						<h2 class="title">
						New Topics 
						</h2>
						<p class="meta">
							<span class="date">March 07, 0711</span><span class="posted">Posted
								by <a href="#">Someone</a>
							</span>
						</p>
						<div style="clear: both;">&nbsp;</div>
						<div class="entry">
							
							
						</div>
					</div>
					
					
					<div style="clear: both;">&nbsp;</div>
				</div>
				<!-- end #content -->
				<div id="sidebar">
					<ul>
						<li>
							<div id="search">
								<form method="get" action="#">
									<div>
										<input type="text" name="s" id="search-text" value="" /> <input
											type="submit" id="search-submit" value="GO" />
									</div>
								</form>
							</div>
							<div style="clear: both;">&nbsp;</div>
						</li>
						<li>
							<h2>Aliquam tempus</h2>
							<div>
		<f:view>

		<h:form>
			<h:panelGrid border="0" columns="2" rendered="#{!homeBean.logged}">
				<h:outputText value="Username"></h:outputText>
				<h:inputText value="#{homeBean.myUser.userName}"></h:inputText>
				<h:outputText value="Pasword"></h:outputText>
				<h:inputText value="#{homeBean.myUser.name}"></h:inputText>
				<h:commandButton value="Sign Up"></h:commandButton>
				<h:commandButton value="Log In" action="#{homeBean.login }"></h:commandButton>
			</h:panelGrid>
			<h:panelGrid border="0" columns="1" rendered="#{homeBean.logged}">
				<h:outputText value="Wellcome #{homeBean.myUser.userName}"></h:outputText>
			</h:panelGrid>



		</h:form>
	</f:view>
							
							
							</div>
						</li>
						<li>
							<h2>Categories</h2>
							<ul>
								<li><a href="#">Aliquam libero</a></li>
								<li><a href="#">Consectetuer adipiscing elit</a></li>
								<li><a href="#">Metus aliquam pellentesque</a></li>
								<li><a href="#">Suspendisse iaculis mauris</a></li>
								<li><a href="#">Urnanet non molestie semper</a></li>
								<li><a href="#">Proin gravida orci porttitor</a></li>
							</ul>
						</li>
						<li>
							<h2>Blogroll</h2>
							<ul>
								<li><a href="#">Aliquam libero</a></li>
								<li><a href="#">Consectetuer adipiscing elit</a></li>
								<li><a href="#">Metus aliquam pellentesque</a></li>
								<li><a href="#">Suspendisse iaculis mauris</a></li>
								<li><a href="#">Urnanet non molestie semper</a></li>
								<li><a href="#">Proin gravida orci porttitor</a></li>
							</ul>
						</li>
						
					</ul>
				</div>
				<!-- end #sidebar -->
				<div style="clear: both;">&nbsp;</div>
			</div>
			<!-- end #page -->
		</div>
	</div>
	<div id="footer-content">
		<div id="footer">
			<p>
				Copyright (c) 0711 Sitename.com. All rights reserved. Design by <a
					href="http://www.freecsstemplates.org/">Free CSS Templates</a>.
			</p>
		</div>
	</div>
	<!-- end #footer -->
</body>
</html>
